package com.jhgsys.internal.formDesign.service;

import com.jhgsys.internal.formDesign.entity.AccidentSurveyAuditRecord;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author fenghaijun
 * @date 2024-08-29 11:35:32
 */
public interface IAccidentSurveyAuditRecordService extends IService<AccidentSurveyAuditRecord> {
    /**
     * 查询（分页）
     * @author fenghaijun
     * @date 2024-08-29 11:35:32
     * @param request QueryRequest
     * @param accidentSurveyAuditRecord accidentSurveyAuditRecord
     * @return IPage<AccidentSurveyAuditRecord>
     */
    IPage<AccidentSurveyAuditRecord> findAccidentSurveyAuditRecordPage(QueryRequest request, AccidentSurveyAuditRecord accidentSurveyAuditRecord);

    /**
     * 查询（所有）
     * @author fenghaijun
     * @date 2024-08-29 11:35:32
     * @param accidentSurveyAuditRecord accidentSurveyAuditRecord
     * @return List<AccidentSurveyAuditRecord>
     */
    List<AccidentSurveyAuditRecord> findAccidentSurveyAuditRecordList(AccidentSurveyAuditRecord accidentSurveyAuditRecord);

    /**
    * 根据ID查询
    * @author fenghaijun
    * @date 2024-08-29 11:35:32
    * @param id
    * @return AccidentSurveyAuditRecord
    */
    AccidentSurveyAuditRecord findAccidentSurveyAuditRecordById(String id);

    /**
     * 新增
     * @author fenghaijun
     * @date 2024-08-29 11:35:32
     * @param accidentSurveyAuditRecord accidentSurveyAuditRecord
     */
    void createAccidentSurveyAuditRecord(AccidentSurveyAuditRecord accidentSurveyAuditRecord);

    /**
     * 修改
     * @author fenghaijun
     * @date 2024-08-29 11:35:32
     * @param accidentSurveyAuditRecord accidentSurveyAuditRecord
     */
    void updateAccidentSurveyAuditRecord(AccidentSurveyAuditRecord accidentSurveyAuditRecord);

    /**
     * 逻辑删除
     * @author fenghaijun
     * @date 2024-08-29 11:35:32
     * @param accidentSurveyAuditRecord accidentSurveyAuditRecord
     * @param accidentSurveyAuditRecordIds accidentSurveyAuditRecordIds
     */
    void deleteAccidentSurveyAuditRecord(AccidentSurveyAuditRecord accidentSurveyAuditRecord,String accidentSurveyAuditRecordIds);

    /**
    * 物理删除
    * @author fenghaijun
    * @date 2024-08-29 11:35:32
    * @param accidentSurveyAuditRecordIds accidentSurveyAuditRecordIds
    */
    void physicallyDeleteAccidentSurveyAuditRecord(String accidentSurveyAuditRecordIds);
}
